package com.example.mybatisannotation.service;

import com.example.mybatisannotation.entity.Student;

import java.util.List;

public interface StuService {
    int create(Student student);

    List<Student> getByName(String name);

    Student getByID(Integer id);

    int deleteById(Integer id);

    List<Student> getAllStudents();

    int updateStu(Student stu);
}
